<%@ include file="/WEB-INF/jspf/directive/taglib.jspf"%>

<html>

<c:set var="title"><fmt:message key="registration.title.text" /></c:set>
<%@ include file="/WEB-INF/jspf/head.jspf"%>

<body>

	<div class="container small-form">
		<form id="regForm" method="post" action="controller" class="reg-form"
			name="regForm">
			<input type="hidden" name="command" value="register" />
			<h2>
				<fmt:message key="registration.heading.text" />
			</h2>

			<div class="control-group">
				<label><fmt:message key="registration.label.login" /></label> <input
					id="name" name="login" type="text" class="input-block-level"
					placeholder='<fmt:message key="registration.input.login"/>'>
			</div>
			<div class="control-group">
				<label><fmt:message key="registration.label.password" /></label> <input
					id="password" name="password" type="password"
					class="input-block-level"
					placeholder='<fmt:message key="registration.input.password"/>'>
			</div>
			<div class="control-group">
				<label><fmt:message key="registration.label.repeatpassword" /></label>
				<input id="passwordRepeat" name="passwordRepeat" type="password"
					class="input-block-level"
					placeholder='<fmt:message key="registration.input.repeatpassword" />'>
			</div>
			<div class="control-group">
				<label><fmt:message key="registration.label.firstname" /></label> <input
					id="firstName" name="firstName" type="text"
					class="input-block-level"
					placeholder='<fmt:message key="registration.input.firstname" />'>
			</div>
			<div class="control-group">
				<label><fmt:message key="registration.label.lastname" /></label> <input
					id="lastName" name="lastName" type="text" class="input-block-level"
					placeholder='<fmt:message key="registration.input.lastname" />'>
			</div>
			<button class="btn btn-large btn-info btn-block" type="submit">
				<fmt:message key="registration.button.register" />
			</button>
		</form>
		<a href="login.jsp" class="btn btn-large btn-info btn-block"><fmt:message
				key="registration.button.back" /></a>
	</div>

</body>
</html>